package com.xiashitech.agent.instrumentation.base.context.bridge;

import io.opentelemetry.javaagent.shaded.io.opentelemetry.api.baggage.BaggageEntryMetadata;

public interface BridgeBaggageBuilder {
    BridgeBaggageBuilder put(String key, String value, BaggageEntryMetadata baggageEntryMetadata);

    default BridgeBaggageBuilder put(String key, String value) {
        return this.put(key, value, BaggageEntryMetadata.empty());
    }

    BridgeBaggageBuilder remove(String key);

    BridgeBaggage build();
}
